//
//  DataBaseManager.h
//  18-通讯录sqlite
//
//  Created by dllo on 16/8/8.
//  Copyright © 2016年LST. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AddModel.h"
#import <sqlite3.h>
@interface DataBaseManager : NSObject
{
    sqlite3 *dbPoint;
}
// 单利方法, 一个工程中只包含着一个对象
+ (DataBaseManager *)shareManager;
- (BOOL)openSQLite3;
- (BOOL)closeSQLite3;
- (BOOL)creatTable;
// 增
- (BOOL)insertPeople:(AddModel *)people;
// 查
- (__kindof NSArray *)selectAllPeople;
@end
